home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Taifun
/
Taifun 205 (1992-06-10)(Manewaldt, A.)(DE)(PD).zip
/
Taifun 205 (1992-06-10)(Manewaldt, A.)(DE)(PD).adf
/
KFrac
/
KFrac.doc
< prev
next >
Wrap
Text File
|
1992-06-06
|
13KB
|
311 lines
==============================================================================
==============================================================================
=== KFrac V1.12, written in 1991-92 by Andreas 'AK' Ralph Kleinert ===
=== ===
=== - A little Fractalgenerator - ===
=== ===
=== Release Date (minor Revision) : 17.04.1992 ===
=== ===
=== (ALSO RUNABLE UNDER OS V2.04) ===
=== ===
==============================================================================
=== ( F R E E W A R E ) ===
==============================================================================
=== ===
=== (c) 1991-92 by Andreas Ralph Kleinert ===
=== Grube Hohe Grethe 23 ===
=== W-5900 Siegen 1 ===
=== Germany ===
=== ===
==============================================================================
==============================================================================
KFrac V1.12 is FREEWARE. Nevertheless I never deny any kind of "presents"
like money for my work (see the address above).
(KFrac is no longer PUBLIC DOMAIN.)
So KFrac is FREEWARE and it is therefore freely distributable, but I
demand, that possible copy-fees are not very much higher than the real
costs.
I also do reserve me all rights to this product ("All rights reserved.").
This program is not PUBLIC DOMAIN, although it is freely distributable.
--- Documentationfileversion : KFrac-V2.11-A-1504-92 ---
=============================================================================
= DESCRIPTION : =
=============================================================================
The first version of KFrac has been written in July 1991
by Andreas 'AK' Ralph Kleinert. Other versions followed.
This is now an optimized and modified version from April 1992.
The first version of this program was partially developed during a
'project week' at the G.A.L., Siegen. Thanks to all, who helped me to
write the first version of this program and to fix it's (many) bugs !!!
Explicitely thanks go to Mr. Schnell, Steffen Dingel and
Rene Koch, who initiated and organized our project about
'chaos' (fractals and their meanings) !
NOTE :
======
This program is FREEWARE, so it is allowed to distribute
it without any restrictions, except, that only a *small*
fee is charged (if necessary).
The 'ak_gen0.libray', used by this program, is also
FREEWARE (V35.21, see 'ak_gen0.library'.doc !)
The program also uses the 'mathieeedoubbas.library' and the
'mathieeedoubtrans.library', which are available on every
Workbench-Disk (V1.2-V2.04).
Address :
=========
Andreas R. Kleinert
Grube Hohe Grethe 23
W-5900 Siegen 1
Germany
Donations and suggestions are always welcome !
You may also write to me, if you want to know more about
me or my programs, but don't forget to send enough money
for postage/packing !
PLEASE write me, if you like this program, tell me which
version you're using and what you would like to have impro-
ved !!!
Technical information :
=======================
- KFrac uses the original AmigaIEEE-Routines with double precision
(mathieeedoubbas.library, mathieeedoubtrans.library)
- KFrac also uses the 'ak_gen0.library' V34.xx (or above)
- KFrac has been written in SAS/C V5.10a/b
- KFrac has been programmed under OS V2.04 (since V1.02)
WARNING :
=========
Don't start KFrac via the CLI-/Shell-Command "Run", because
this will cause serious troubles for KFrac AND the CLI.
KFrac doesn't open its own CLI-Window, but uses the active
one, so two tasks would have to share the same window.
You may open a new Shell instead, and then start KFRac, if
you would like to multitask while running KFrac.
But note : The Mousebuttons are checked DIRECTLY, so it
makes no matter, if KFrac's window is active, or not.
Possibilities :
===============
Up to this version you have the possibility to generate the
following types of fractals :
1) Julia-Sets
2) Mandelbrot-Sets ("Apfelmaennchen")
3) Feigenbaum
4) Quadranians (just a kind of play-around by me)
Background :
============
==========================================
= About 'Mandelbrot'- and 'Julia'-Sets : =
==========================================
Mandelbrot and Julia are both some ways of a partially display
of an object, which depends on 4 parameters.
Mandelbrot uses fix 'z_re' and 'z_im', but displays the fractal
as a graphic, where the x- and y-position depend from 'c_re'
and 'c_im'.
Julia uses fix 'c_re' and 'c_im', but displays the fractal
as a graphic, where the x- and y-position depend from 'z_re'
and 'z_im'.
Both use the same (recursive) algorithm, which looks as
follows :
z_n+1 = z_new = z_n^2 - c
This is transferred to a 'complex platform', where z_n and c
are complex (imaginary) numbers :
z_re_new = z_re^2 - z_im^2 - c_re
z_im_new = 2*z_re*z_im - c_im
With this formula it is possible to describe the behaviour of
the above recursive algorithm in a 2-dimensional way, where
'convergency' and 'divergeny' (don't know if these are the right
words) are represented and marked with different colors (each
pixel).
Usage :
=======
Julia-Set :
===========
'ze_re' and 'ze_im' determine, which part of the fractal,
which results out of the 'c_re' and the 'c_im' value, is
shown.
'ze_re' influences the X-Coordinates, 'z_im' the Y-Coordinates.
The 'Iteration' value determines the depth - the 'clearness' -
of the picture, and the 'width' and 'height' are responsible
for the size of the picture.
Speed may be increased by selecting less colors, a smaller size
or less 'Iterations'.
Mandelbrot-Set :
================
'c_re' and 'c_im' determine, which part of the fractal,
which is always similarily, is shown.
'c_re' influences the X-Coordinates, 'c_im' the Y-Coordinates.
The 'Iteration' value determines the depth - the 'clearness' -
of the picture, and the 'width' and 'height' are responsible
for the size of the picture.
Speed may be increased by selecting less colors, a smaller size
or less 'Iterations'.
Feigenbaum :
============
This implementation seems to be a little bit silly, but I can't
find a bug. The following kinds of values make no problems
(I hope) :
k_min : 1.9xxxxxxxxx
k_max : 3.5xxxxxxxxx
q_0 : 0.2xxxxxxxxx
iter. : 50
skip : 10
x : 640
y : 256
colors : N
The mysterious thing is, that there is really *no* result for
for k_min = 1.9, k_max = 3.5 and q_0 = 0.2
and no for k_min >> 1.9, k_max >> 3.5 and q_0 >> 0.2
but for k_min = 1.9xxxxxx,
k_max = 3.5xxxxxx,
q_0 = 0.2xxxxxx THERE IS A RESULT !!!
Don't know why this happens, but I *really* don't have the
interest to check it out "by hand". If there's an error, I will
perhaps find it sometime in the future, if not, then its OK,
anyway.
Speed-Increase :
================
If you're using a screen with more than 4 colors you may speed
up KFrac by using Amiga-M / Amiga-N to put an other Screen (with
less colors) in the foreground. This will greatly speed up
the calculating time, because the DMA-access of the processor
will no longer be slowed down by the Customchips. (This effect
is not so high if you have a lot of FAST-Mem or a Turbo-Board.)
If you own a Turbo-Board, which includes a 68881/68882 Math-
Co-CPU, speed will automatically increase a lot, because the
standard math/libraries, used by this program, do support
those.
Enjoy its using and begin to experimentate !!!
=============================================================================
= VERSION-"HISTORY" : =
=============================================================================
pre V1.0 :
- work versions, not released (constructed mainly during a 'project week')
---------------------------------------------------------------------------
V1.0 :
- initial release
---------------------------------------------------------------------------
V1.01 :
- modified for use with "ak_gen0.library" (instead of "ak.library")
- now support of double precision instead of single precision
---------------------------------------------------------------------------
V1.02 :
- improved speed of main algorithmus
- making use of pragmas
- making use of special code optimizations
- some other small enhancements
- now the number of colors used is changeable (2, 4, 8, 16)
---------------------------------------------------------------------------
V1.10 :
- improved and "debugged" the documentation in- and outside the program
- integrated three new types of fractals :
- Mandelbrot (also called "Apfelmaennchen")
- Feigenbaum (hope, it functions correctly)
- Quadranian (it bases on rectangles, and produces a strange kind of
pattern -> not one of the 'usual' fractals)
- improved some less important things
---------------------------------------------------------------------------
V1.12 :
- This version is no longer PUBLIC DOMAIN, but FREEWARE
- now its possible to save the Fractals as IFF-ILBM-Graphics
(uncompressed and compressed, as you like)
- some small speed improvements (Yeeeaaaahh !!! :)
- added some Menus (to the Display-Screen), so that Intuition
now is supported much more better
- fixed some things in the docs (this one you are reading now) and
in the program-internal docs
- this release makes use of "ak_gen0.library" V35.21
(V34.xx still supported)
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
Known Bugs :
There are no known bugs, execpt of these already mentioned above :-)
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
Possible enhancements in (possible :) future versions :
- IFF-ACBM-Support (save pictures for BASIC)
- more Intuition-Support (maybe under use of 'gadtools.library' V37+)
Send me BUG-Reports !
=============================================================================
= COPYRIGHTS : =
=============================================================================
=============================================================================
= "KFrac" =
= (c) 1991-92 by Andreas R. Kleinert. =
= FREEWARE. All rights reserved. =
=============================================================================
= Copyrights of other mentioned products/programs are to find in the =
= manuals of these and are not listed explicitely at this place here. =
=============================================================================